package com.bm.api.controller;

import com.bm.api.service.PingLunService;
import com.bm.common.dto.PingLunDto;
import com.bm.common.vo.R;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

/**
 * YoungMan, may the force be with you.
 *
 * @Author: 吃个小布丁吧
 * @Date: 2022/07/23/10:52
 */
@RestController
@RequestMapping("/api/pingLun/")
@Api(tags = "鉴定师评论-张宇坤")
public class PingLunController {
    @Resource
    private PingLunService service;
    @GetMapping("all.do")
    public R all(@RequestParam int aid){
        return service.all(aid);
    }
//    @PostMapping("save.do")
//    public R save(@RequestBody PingLunDto dto,){
//        return service.save(dto,);
//    }
}
